/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const Iconshoucang: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1041 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M1024.588401 332.268546c0-148.505265-120.387881-268.892123-268.892123-268.892123-107.863636 0-200.878077 63.521732-243.717767 155.189502C469.13882 126.898155 376.126426 63.376423 268.260743 63.376423 119.755478 63.376423-0.63138 183.76328-0.63138 332.268546c0 74.777077 30.532387 142.41557 79.800487 191.154621l-0.212848 0.132006 399.220401 399.220401c18.667152 18.668175 48.935526 18.668175 67.603701 0l399.220401-399.220401-0.189312-0.154519C994.065224 474.66365 1024.588401 407.034367 1024.588401 332.268546zM803.761993 596.871993 545.780361 855.17085c-18.668175 18.670222-48.935526 18.668175-67.603701 0l-257.624499-258.231319-99.332333-99.56667 0.027629 0c-45.445028-40.49018-74.075089-99.44899-74.075089-165.105339 0-122.104989 98.984409-221.089397 221.089397-221.089397 98.948593 0 182.691879 65.011666 210.900338 154.645103l0.051165 0c3.794419 14.600533 17.063631 25.38004 32.853245 25.38004 16.256242 0 29.834492-11.43033 33.157167-26.689872 28.610618-88.953961 112.00905-153.334247 210.473619-153.334247 122.103966 0 221.089397 98.984409 221.089397 221.089397 0 63.329351-26.635637 120.42779-69.305459 160.731728l0.022513 0L803.761993 596.871993z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

Iconshoucang.defaultProps = {
  size: 18,
};

export default Iconshoucang;
